package pers.mobian.springforth;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Date 2021/7/10 20:06
 * @Created mobian
 * @Description
 */
@ComponentScan(basePackages = {"pers.mobian.springforth"})
public class ConfigBean {

	@Bean
	public User user(){
		return new User();
	}

	@Bean
	public Person person(){
		return  new Person();
	}
}
